package com.ncloud.system.entity;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ncloud.system.conf.CustomJsonDateDeserializer;

@SuppressWarnings("serial")
public class Dictionary implements Serializable{
	private String dictionaryId   ;
	private String dictionaryName ;
	private String dictKey        ;
	private String dictValue      ;
	private String dictDescribe   ;
	private Integer orderNum      ;
	@JSONField(serializeUsing=ToStringSerializer.class)
	private Long createUser       ;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date createDate       ;
	@JSONField(serializeUsing=ToStringSerializer.class)
	private Long updateUser       ;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date updateDate       ;
	private String remarks         ;
	public String getDictionaryId() {
		return dictionaryId;
	}
	public void setDictionaryId(String dictionaryId) {
		this.dictionaryId = dictionaryId;
	}
	public String getDictionaryName() {
		return dictionaryName;
	}
	public void setDictionaryName(String dictionaryName) {
		this.dictionaryName = dictionaryName;
	}
	public String getDictKey() {
		return dictKey;
	}
	public void setDictKey(String dictKey) {
		this.dictKey = dictKey;
	}
	public String getDictValue() {
		return dictValue;
	}
	public void setDictValue(String dictValue) {
		this.dictValue = dictValue;
	}
	public String getDictDescribe() {
		return dictDescribe;
	}
	public void setDictDescribe(String dictDescribe) {
		this.dictDescribe = dictDescribe;
	}
	public Integer getOrderNum() {
		return orderNum;
	}
	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}
	public Long getCreateUser() {
		return createUser;
	}
	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}
	public Date getCreateDate() {
		return createDate;
	}
	@JsonDeserialize(using = CustomJsonDateDeserializer.class)
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Long getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(Long updateUser) {
		this.updateUser = updateUser;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	@JsonDeserialize(using = CustomJsonDateDeserializer.class)
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
}
